<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Web 设计</title>
        <link rel="shortcut icon" href="/mylogo/logo_k_icon_72.ico" type="image/x-icon" />
        <script>
            var txt = "";
            function message()
            {
                try 
                {
                    adddlert("Welcome guest!");
                }
                catch(err)
                {
                    txt = "本页有一个错误。\n\n";
                    txt += "错误描述：" + err.message + "\n\n";
                    txt += "点击确定继续。\n\n";
                    alert(txt);
                }
            }
        </script>
    </head>
    <body>
        <input type="button" value="查看消息" onclick="message()" />

    </body>
</html> 

